<template>
  <div class='ls-email'>
    <Search :search="searchInfo" @new_search="getSearch" />
    <List :listData="listData" @forMore="getMoreInfo">
      <ListModel :listData="listData"></ListModel>
    </List>
  </div>
</template>
<script>
import MixIns from '../../../../mixin/mixin.js'
import Search from '../../../../components/search.vue'

import List from '../../../../components/list.vue'
import ListModel from './model/list'
export default {
  components: {Search,List,ListModel},
  name: "",
  data() {
    return {
      searchInfo:{
        search:"",
      },
    };
  },
  methods: {
    getSearch(){
      this.pageInfo.page=1
      this.getListData()
    },
  },
  created() {},
  mixins:[MixIns]
};
</script>
<style lang="scss" scoped>
.ls-email {
  font-size: 16px;
  height: 100%;
  background-color: #efeff4;
  display: flex;
  flex-direction: column;
}
</style>